package cn.wolfcode.luowowo.search.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class StrategySearchQueryObject extends QueryObject {

    public static final int THEME = 2;
    public static final int CHINA = 1;
    public static final int ABROAD =0;

    private Long type = -1L;

    private Long typeValue = -1L;  //国内(provinceId)  国外(countryId)  主题(themeid)

    private String orderBy = "viewnum";

    //非空判断
    public Long getType() {

        if (this.type == null) {
            return -1L;
        }
        return this.type;
    }

    public Long getTypeValue() {
        if (this.typeValue == null) {
            return -1L;
        }
        return this.typeValue;

    }


}
